//#pragma large
#include <REGX52.H>
	unsigned char i,j;

void Delay(unsigned char xms)		//@12.000MHz,1ms
{

	while(xms--)
	{
			i = 2;
			j = 199;
			do
			{
				while (--j);
			} while (--i);
	}

}